|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
JaxRpcMapper.java | - | - | - | - |
|
1 |
/*
|
|
2 |
* Copyright 2003,2004 The Apache Software Foundation.
|
|
3 |
*
|
|
4 |
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5 |
* you may not use this file except in compliance with the License.
|
|
6 |
* You may obtain a copy of the License at
|
|
7 |
*
|
|
8 |
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9 |
*
|
|
10 |
* Unless required by applicable law or agreed to in writing, software
|
|
11 |
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13 |
* See the License for the specific language governing permissions and
|
|
14 |
* limitations under the License.
|
|
15 |
*/
|
|
16 |
package org.apache.geronimo.ews.jaxrpcmapping;
|
|
17 |
|
|
18 |
import org.apache.axis.wsdl.symbolTable.BindingEntry;
|
|
19 |
import org.apache.axis.wsdl.symbolTable.PortTypeEntry;
|
|
20 |
import org.apache.axis.wsdl.symbolTable.ServiceEntry;
|
|
21 |
import org.apache.geronimo.ews.ws4j2ee.toWs.GenerationFault;
|
|
22 |
|
|
23 |
import javax.wsdl.Operation;
|
|
24 |
import javax.wsdl.Port;
|
|
25 |
import javax.xml.namespace.QName;
|
|
26 |
import java.io.InputStream;
|
|
27 |
|
|
28 |
/**
|
|
29 |
* @author Srinath Perera(hemapani@opensource.lk)
|
|
30 |
*/
|
|
31 |
public interface JaxRpcMapper { |
|
32 |
public abstract void loadMappingFromInputStream(InputStream is) throws GenerationFault; |
|
33 |
|
|
34 |
public abstract void loadMappingFromDir(String path) throws GenerationFault; |
|
35 |
|
|
36 |
/**
|
|
37 |
* @return Returns the mapping.
|
|
38 |
*/
|
|
39 |
public int getPackageMappingCount(); |
|
40 |
|
|
41 |
public String getPackageMappingClassName(int index); |
|
42 |
|
|
43 |
public String getPackageMappingURI(int index); |
|
44 |
|
|
45 |
public abstract String getJavaType(QName typeQName);
|
|
46 |
|
|
47 |
public abstract String getExceptionType(QName messageQName);
|
|
48 |
|
|
49 |
public abstract String getPortName(Port port);
|
|
50 |
|
|
51 |
public abstract String getServiceInterfaceName(ServiceEntry entry);
|
|
52 |
|
|
53 |
public abstract String getServiceEndpointInterfaceName(PortTypeEntry ptEntry,
|
|
54 |
BindingEntry bEntry); |
|
55 |
|
|
56 |
/**
|
|
57 |
* @param entry
|
|
58 |
* @param operation
|
|
59 |
* @param i
|
|
60 |
* @return
|
|
61 |
*/
|
|
62 |
public abstract String getJavaMethodParamType(BindingEntry bEntry,
|
|
63 |
Operation operation, |
|
64 |
int position);
|
|
65 |
|
|
66 |
/**
|
|
67 |
* @param entry
|
|
68 |
* @param operation
|
|
69 |
* @return
|
|
70 |
*/
|
|
71 |
public abstract String getJavaMethodReturnType(BindingEntry bEntry,
|
|
72 |
Operation operation); |
|
73 |
|
|
74 |
/**
|
|
75 |
* @param entry
|
|
76 |
* @param operation
|
|
77 |
* @return
|
|
78 |
*/
|
|
79 |
public abstract String getJavaMethodName(BindingEntry bEntry,
|
|
80 |
Operation operation); |
|
81 |
|
|
82 |
public abstract boolean hasWrappedElement(); |
|
83 |
} |
|
84 |
|
|